<div class="content_summary">
	<div class="content_header">
		<!-- Start Content Header -->
		
		<!-- End Content Header -->
	</div>
	<div style="clear:both;"></div>
	<div class="content_body">
		<!-- Start Content Body -->
		<div style="width:70%; float:left;">
			<div style="padding:10px; border:solid 1px black;">
				Welcome to Administrator Section.<br />
				You are logged in as <b><?php echo $_SESSION['username']; ?></b><br />
				<?php
					$sql = "select logaction, logdate from tr_log where userid = '".$_SESSION['userid']."' and logaction not like 'Login%' and logaction not like 'Logout%' and logaction not like 'Session%' order by logdate desc limit 0,1";
					$exe = mysql_query($sql) or die(mysql_error());
					$num = mysql_num_rows($exe);
					$row = mysql_fetch_array($exe);
					
					if($num > 0)
					{
				?>
				Your last activity is <?php echo "<b>".$row['logaction']."</b> at <b>".date('D, d M Y, H:i', strtotime(stripslashes(html_entity_decode($row['logdate']))))."</b>"; ?>
				<?php
					}
				?>
			</div>
			<div style="padding:10px; border:solid 1px black; margin-top:5px;">
				<div>
					<?php
						$sql = "select * from ms_file where stsrc = 'A' and filerole = 'logo' order by dateup desc, datein desc limit 0,1";
						$exe = mysql_query($sql) or die(mysql_error());
						$num = mysql_num_rows($exe);
						$row = mysql_fetch_array($exe);
						
						if($num > 0)
						{
					?>
							<img src="<?php echo getURLdomain()."/upload/".$row['filename']; ?>" style="float:left; padding:0 15px 10px 0;" />
					<?php
						}
					?>
						Engine Version : <?php echo CMS_ENGINE_VERSION; ?><br />
						Release Date : <?php echo date('jS F Y', strtotime(stripslashes(html_entity_decode(CMS_ENGINE_RELEASE_DATE)))); ?><br /><br />
						<?php echo SITE_NAME; ?> Project is developed by <a target="_blank" href="http://madebymvz.com"><b>MvZ</b></a>.<br /><br />
						If you encounter with any issue regarding error/bug, please contact me at <a href="mailto:mav3.12ick@gmail.com"><b>mav3.12ick@gmail.com</b></a>.<br /><br />
						
					<div class="clear"></div>
				</div>
			</div>
		</div>
		<div style="width:29%; float:left; padding-left:10px;">
			<div style="padding:10px; border:solid 1px black;">
				<div>
					<div style="float:left; width:110px; text-align:right;">Developed by :</div>
					<div style="float:left; padding-left:10px;"><a href="http://madebymvz.com" target="_blank"><img src="<?php echo getURLdomain(); ?>/source/global/img/mvz-logo/mvz-logo-v1-250x194.png" style="max-width:200px; max-height:100px;" /></a></div>
					<div class="clear"></div>
				</div>
				<div style="padding-top:10px;">
					<div style="float:left; width:110px; text-align:right;">Powered by :</div>
					<div style="float:left; padding-left:10px;"><a href="http://jquery.com/" target="_blank"><img src="<?php echo getURLdomain(); ?>/source/admin/img/component/jQuery_logo_color_onwhite.png" style="max-width:200px; max-height:100px;" /></a></div>
					<div class="clear"></div>
				</div>
				<div style="padding-top:10px;">
					<div style="float:left; width:110px; text-align:right;">Supported by :</div>
					<div style="float:left; padding-left:10px;"><a href="http://www.google.com/intl/en/chrome/" target="_blank"><img src="<?php echo getURLdomain(); ?>/source/global/img/icon/google-chrome-128x128.png" style="max-width:200px; max-height:100px;" /></a></div>
					<div style="float:left; padding-left:10px;"><a href="http://www.mozilla.org/en-US/firefox/new/" target="_blank"><img src="<?php echo getURLdomain(); ?>/source/global/img/icon/mozilla-firefox-128x128.png" style="max-width:200px; max-height:100px;" /></a></div>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		<div class="clear"></div>
		<!-- End Content Body -->
	</div>
	<div style="clear:both;"></div>
</div>
